import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { UserInfoModule } from 'src/userInfo/userinfo.module';
import { MongooseModule } from '@nestjs/mongoose';
import { UserInfoSchema } from 'src/userInfo/schemas/userinfo.schema';
import { JwtService } from '@nestjs/jwt';

@Module({
  imports: [
    MongooseModule.forFeature([{ name: 'UserInfos', schema: UserInfoSchema }]),
  ],
  controllers: [AuthController],
  providers: [AuthService, JwtService]
})
export class AuthModule {}
